﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityModel
{
    /// <summary>
    /// 新生报名表
    /// </summary>
    public class EGS_NewStudent
    {
        public EGS_NewStudent()
        {
            this.ID = Guid.NewGuid();
        }
        /// <summary>
        /// 主键id
        /// </summary>
        [Key]
        [Required]
        public Guid ID { get; set; }
        /// <summary>
        /// 学生姓名
        /// </summary>
        [StringLength(50)]
        [Required]
        public string? Name { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        [Required]        
        public int Age { get; set; }
        /// <summary>
        /// 毕业学校
        /// </summary>
        [StringLength(100)]
        [Required]
        public string? GraduationSchool { get; set; }
        /// <summary>
        /// 毕业分数
        /// </summary>
        [StringLength(100)]
        [Required]
        public string? ExamScores { get; set; }
        /// <summary>
        /// 所选专业名字
        /// </summary>
        [StringLength(100)]
        public string? ProfessionalName { get; set; }
        /// <summary>
        /// 老师推荐
        /// </summary>
        [StringLength(100)]
        public string? TeacherRecommendation { get; set; }
        /// <summary>
        /// 报名费
        /// </summary>
        [Required]
        public int RegistrationFee { get; set; }
    }
}
